package sample.user.consumer.data;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import sample.data.sqlite.entity.user.UserEntity;
import sample.user.hystrix.data.UserDataHystrix;



@FeignClient(name = "${sample.data.sqlite.producer}",fallback = UserDataHystrix.class)
public interface UserDataConsumer {
	@GetMapping("/getUser")
	public List<UserEntity> getUser();
}
